const { ipcRenderer } = window.require('electron')


register = function () {
    var nickname = document.getElementsByClassName("nickname")[0].value
    var emial = document.getElementsByClassName("email")[0].value
    var password = document.getElementsByClassName("password")[0].value
    var body = ipcRenderer.sendSync("request","http://www.baidu.com")
    console.log(body)
}